package com.example.shopcommon.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-order")
public interface OrderFeignClient {

    @GetMapping("/order/create")
    String create(@RequestParam("userId") Long userId,
                  @RequestParam("pid") Long pid,
                  @RequestParam("orderCount") int orderCount);

}
